﻿@model PagedList<Core_Order>
@{
    ViewBag.ParentUrl = "/Order/Tongji";
    ViewBag.Title = "数据统计详单";
}
@section breadcrumb
{
    <ul class="breadcrumb">
        <li>
            <i class="ace-icon fa fa-home home-icon"></i>
            <a href="/">控制台</a>
        </li>
        <li class="active">@ViewBag.Title</li>
    </ul><!-- .breadcrumb -->
}
<div class="row">
    <div class="col-xs-12">
        <div class="table-responsive">

            <h4 class="pink">
                <i class="ace-icon fa fa-hand-o-right icon-animated-hand-pointer blue"></i>
                <a href="###" role="button" class="green" data-toggle="modal">用户/保单详细信息</a>
            </h4>
            <div class="hr hr-18 dotted hr-double"></div>
            <div class="nav-search" id="nav-search" style="top: 6px;">
                
                    <a  class="btn btn-info btn-xs" href="/order/tongji">
                        <i class="ace-icon fa fa-share bigger-110"></i>
                        返回
                    </a>
                
            </div><!-- #nav-search -->
            <!-- PAGE CONTENT BEGINS -->
            <table id="sample-table-1" class="table table-striped table-bordered table-hover">
                <thead>
                    <tr>
                        <th>序号</th>
                        <th>保单号</th>
                        <th>单证号</th>
                        <th>被保人</th>
                        <th>产品名称</th>
                        <th>出单用户</th>
                        <th>投保时间</th>
                        <th>状态</th>
                        <th>操作</th>
                    </tr>
                </thead>

                <tbody>
                    @foreach (var item in Model)
                    {
                        <tr>
                            <td>@item.O_Id</td>
                            <td>@item.O_PolicyNo</td>
                            <td>@item.O_TicketNo</td>
                            <td>@item.O_InsureName</td>
                            <td>@item.O_ProductName</td>
                            <td>@item.O_WorkerName</td>
                            <td>@item.O_CreateTime</td>
                            <td>
                                @Enum.GetName(typeof(OrderStateEnum), item.O_State)
                            </td>
                            <td>
                                <div class="btn-group">
                                    <a class="btn btn-xs btn-info tooltip-info" data-rel="tooltip" data-placement="top" href="/order/Info/@item.O_Id">
                                        详细
                                        <i class="ace-icon fa fa-eye bigger-120"></i>
                                    </a>
                                </div>
                            </td>
                        </tr>
                    }
                </tbody>
            </table>
        </div> <!-- PAGE CONTENT ENDS -->
        @Html.Pager(Model, new PagerOptions { FirstPageText = "首页", PrevPageText = "上一页", NextPageText = "下一页", LastPageText = "末页", PageIndexParameterName = "id", NumericPagerItemCount = 5, ContainerTagName = "ul", CssClass = "pagination", CurrentPagerItemTemplate = "<li class=\"active\"><a href=\"#\">{0}</a></li>", DisabledPagerItemTemplate = "<li class=\"disabled\"><a>{0}</a></li>", PagerItemTemplate = "<li>{0}</li>", Id = "mvcpager" })
    </div><!-- /.col -->
</div><!-- /.row -->